<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<?php

class SettingAppViewForm extends CFormModel
{
	public  $enableRegister;	public function init(){
		$this->enableRegister = "1";
		$model = new Option();
		$data = $model->getAppOptions();
		foreach ($data as $index=>$item){
			$key = $item["option_name"];
			$value = $item["option_value"];
			if($key=="app_enabled_register"){
				$this->enableRegister = $value;
			}
		}
	}
	public function rules()
	{
		return array(
		);
		return $valid;
	}


}